home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: Mark Nelson <markn@airmail.net>
- Newsgroups: comp.lang.c
- Subject: Re: BIOSCOM DOS Serial Port Comm with Turbo C version 3.0
- Date: Sun, 24 Mar 1996 16:22:50 -0600
- Organization: customer of Internet America
- Message-ID: <3155CB3A.4C6F@airmail.net>
- References: <NEWTNews.827645153.20850.anuzen@mork.nosc.mil>
- NNTP-Posting-Host: dal14-17.ppp.iadfw.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- anuzen@nosc.mil wrote:
- >
- > I've been using the sample bioscom program with my DOS turboc 2.0 for a long
- > time, but now I can't seem to make it work right on my Turboc 3.0 Dos 6.2 486
- > machine. The program seems to slow down after receiving a few bytes from the
- > com port. Can someone help? also, are there sample serial port communication
- > sources somewhere that I can use with my DOS Turbo C version 3.0?
- >
- > Thanks,
- >
- > Ahn.
-
- Hi,
-
- For higher speed communications you probably should start using an interrupt
- driven program. Reading characters in through the BIOS is fraught with peril,
- you are always going to have trouble with lost characters at any decent rate
- of throughput.
-
- I have some sample code that accompanies an article I wrote in 1991. Follow the
- links on my home page to magazine articles and you can get some C code that
- works well with Turbo C.
-
- Mark Nelson
- http://web2.airmail.net/markn
-